import fetch from '../server/index'

/**
 * 登录
 */
export const Login = data => fetch('/api/login', 'POST', data)

/**
 * 获取list
 */
export const GetList = data => fetch('/api/category', 'POST', data)